<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>Document</title>
    <link rel="stylesheet" href="/animeta.css/98_dowebok.com/98/animate.min.css">

    <style>
        #app{
            width:400px;
            margin: 0 auto;
        }
        #div1{
            width:600px;
            height:600px;
            background:rgb(11, 44, 105);
        }
    </style>
</head>
<body>
    <div id="app">
        <input type="button" value="按钮"@click="toggle"><!--lightSpeedIn   lightSpeedOut flip flipInX  flipInY  flipOutX rotateIn rotateInDownLeft rotateInDownRight rotateInUpLeft-->
        <transition name="fade" enter-active-class="animated  flip" leave-active-class="animated  rotateIn">
            <div id="div1" class="animated" v-show="bSign" enter-active-class="zoomlnLeft" leave-active-class="animated rotateInDownRight"></div>
        </transition>
    </div>
    <script src="/JS文件/vue.js"></script>
    <script>
        new Vue({
            el:'#app',
            data:{
                bSign:true,
            },
            methods:{
                toggle(){
                    this.bSign=!this.bSign;
                }
            }
        })
    </script>
</body>
</html>